package com.miao.constant;

import com.miao.security.constant.ResourceConstant;
import org.springframework.stereotype.Component;

@Component
public class SecurityConstant implements ResourceConstant {
    /**
     * 不进行认证的URL
     */
    public static final String [] IGNORING_URLS = {
            "/actuator/**",
            "/v3/api-docs/**",
            "/webjars/**",
            "/swagger/**",
            "/swagger-resources/**",
            "/swagger-ui.html",
            "/swagger-ui/**",
            "/doc.html",
            "/auth/**",
            "/pay/**",
            "/test/**",
            "/chat/**"
    };

    @Override
    public String[] getConstantList() {
        return IGNORING_URLS;
    }
}
